package com.xr.maintain.entity.oracle;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import org.apache.ibatis.type.Alias;


import java.util.Date;

/**
 * Created on 2021/6/7
 * @author qiao
 * @Desc:
 */


@TableName("TB_RESOURCES")
@Getter
@Setter
@EqualsAndHashCode
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Alias("resources")
public class ResourcesOracle {


    @TableId("id")
    private Long id;
    @TableField("COMPANY_ID")
    private Long companyId;
    /**
     * 备注
     */
    @TableField("remarks")
    private String remarks;
    @TableField("RESOURCES_TYPE")
    private String resourcesType;
    @TableField("FILE_NAME")
    private String fileName;
    @TableField("FILE_URL")
    private String fileUrl;
    @TableField("IS_DELETE")
    private String isDelete;
    @TableField("CREATE_TIME")
    private Date createTime;

    @Override
    public String toString() {
        return "ResourcesOracle{" +
                "id=" + id +
                '}';
    }
}
